import { BaseItem } from "../../common/BaseItem";
import { GlobalClass } from "../../../../../com/mui/core/GlobalClass";
import { ImagesConst } from "../../../resource/ImagesConst";
import { ItemData } from "../../../resource/info/ItemData";
type int = number;
//class OlympicBonusItem
    
    export  class OlympicBonusItem extends BaseItem
    {
        constructor(arg1: int, arg2: int)
        {
            super();
            var loc1=GlobalClass.getBitmap(ImagesConst.PackItemBg);
            loc1.x = -3;
            loc1.y = -3;
            addChildAt(loc1, 0);
            this.itemData = new ItemData(arg1);
            this.amount = arg2;
            this.width = 32;
            this.height = 32;
            this.isDragAble = false;
            this.isDropAble = false;
            return;
        }
    }
